package com.juzipi.thread.controller;

import com.juzipi.thread.test.ThreadTest;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author juzipi
 * @Date 2021/6/15 14:36
 * @Info
 */
@RestController
public class TestController {



    @PostMapping("get")
    public Map<String,Object> getString(){
        HashMap<String, Object> hashMap = new HashMap<>();
        hashMap.put("code",200);
        hashMap.put("message","你好呀");
        hashMap.put("content","爱睡觉的那可就是电脑卡死的那么卡是当年啊是多久啊是哪里看到你");
        return hashMap;
    }


}
